/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __CTRL_H
#define __CTRL_H

#include "incl.h"

void playChess(uint8_t num, uint8_t playnum);
void replayChess(uint8_t num, uint8_t playnum);

void run_timu_handmove(void);
void run_timu_handmove2(void);
void run_timu_auto(void);
void change_piece(uint8_t num, uint8_t new_num);
void go_home(void);

#define 		chess_zi_num_max		(5)
#define			en_opencv						(1)

#define			user_wr						(2)
#define			user_bl						(1)


//剩余多少棋子
extern uint8_t chess_zi_residue_wr;
extern uint8_t chess_zi_residue_bl;
extern Axis3f play_piece_point[9];
#endif /* __CTRL_H */

/******************* (H) COPYRIGHT 2024 FUYEBING*****END OF FILE************/

